package com.xuxin.baby.contract;

import com.xuxin.baby.bean.UserTicketBean;
import com.xuxin.baby.presenter.UserTicketPresenter;

/**
 * Created by xu_xin
 * Created on 2020/10/23 0023
 * 学习券
 */
public interface UserTicketContract {

    interface Model {

        void getUserTicket(UserTicketPresenter presenter, String tenantId, String token, String memberId);
    }

    interface View extends BaseContract.view {

        void onSuccess(UserTicketBean userTicketBean);
    }

    interface Presenter extends BaseContract.presenter {

        void getUserTicket(String tenantId, String token, String memberId);

        void onSuccess(UserTicketBean userTicketBean);
    }
}